{{template "base/base.html" .}}
{{template "base/base_common.html" .}}
{{define "meta"}}
    <title>{{i18n .Lang "app_name"}} - {{i18n .Lang "app_intro"}}</title>
    <meta name="description" content="{{i18n .Lang "app_desc"}}" />
    <meta name="keywords" content="{{i18n .Lang "app_keywords"}}">
{{end}}
{{define "body"}}
<div class="row">
    <div id="content" class="col-md-8">
        <!-- Category and topic list -->
    	<div class="box">
            <div class="cell breadcrumb nav-cats first">
                {{template "post/component/nav-list.html" .}}
            </div>
            
            <div class="cell nav-cats last">
                {{template "post/component/nav-cats.html" .}}
            </div>
        </div>
        
        <!-- Post list -->
        <div class="box">
            <div class="cell breadcrumb first">
                <a href="{{.AppUrl}}"><i class="icon-level-up"></i> {{i18n .Lang "postnav.recent_posts"}}</a>
            </div>

            <div class="post-list">
                {{template "post/component/posts.html" dict "root" . "Posts" .Posts}}
            </div>

            <div class="cell last low">
                <i class="icon-rss-sign color-orange"></i> <a href="#">{{i18n .Lang "atom_feed_subscribe"}}</a>
                <span class="pull-right"><a href="{{.AppUrl}}recent"><i class="icon-caret-right"></i> {{i18n .Lang "postnav.recent_posts"}}</a></span>
            </div>
        </div>
        
        <!-- Topic list -->
        <div class="box">
            <div class="cell breadcrumb first">
                {{i18n .Lang "postnav.list_topics"}}
            </div>

            <div class="cell nav-topics last">
                {{template "post/component/nav-topics.html" .}}
            </div>
    	</div>
	</div>

    <div id="sidebar" class="col-md-4">
        {{template "post/component/sidebar.html" .}}
    </div>
</div>
{{end}}